<%--
  Author: Duminda Dharmakeerthi
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<SCRIPT type="text/javascript">
    window.history.forward();
    function noBack() {
        window.history.forward();
    }

    //todo : include in a common constant file
    var unalienated = -1;
</SCRIPT>
<html>
<head>
    <%--<meta http-equiv="cache-control" content="no-cache"/>--%>
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="pragma" content="no-cache"/>
    <title><s:property value="@lk.icta.common.AppConstants@APPLICATION_NAME_EN"/></title>
    <link href="${pageContext.request.contextPath}/images/logo.png" rel="shortcut icon">
    <%--<img src="${pageContext.request.contextPath}/images/logo.png" alt="Logo">--%>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/jquery.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/jquery.tools.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/jquery.gmap.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/jquery.gmap.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/lib/jquery/treeview/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/jquery-ui.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/jquery.print-preview.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/lib/jquery/treeview/jquery.treeview.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/lib/jquery/treeview/jquery.treeview.edit.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/lib/jquery/datepicker/datepicker.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/datepicker/eye.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/datepicker/layout.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/lib/jquery/datatables/jquery.dataTables.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/lib/jquery/datatables/TableTools.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/lib/jquery/datatables/ZeroClipboard.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/validation/jquery.validate.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/lib/validation/cmxforms.js"></script>
    <%--<script type="text/javascript" src="${pageContext.request.contextPath}/lib/facebox/facebox.js"></script>--%>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/dateSelector.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/areaConverter.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/validate.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/print.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/common.js"></script>
    <script src="${pageContext.request.contextPath}/js/jsPrintSetup.js" type="text/javascript"></script>

    <script type="text/javascript" src="${pageContext.request.contextPath}/js/sinhalaTamilSyntaxChecker.js"></script>

    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/jquery-ui-1.8.16.custom.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/ut_template.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/treeMenu.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/easyui.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/print-preview.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/datepicker.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/data_table.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/data_table_jui.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/message.styles.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/TableTools.css"/>
    <%--<link rel="stylesheet" href="${pageContext.request.contextPath}/css/facebox.css"/>--%>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/brownStyle.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/print.css" media="print"/>
    <script type="text/javascript">
        $(function() {
            // Tabs
            $('#tabs').tabs();
        });
    </script>
</head>
<%--<body onload="noBack();"--%>
<%--onpageshow="if (event.persisted) noBack();" onunload="">--%>
<body>
<%--<div id="wrapper-outer">
    <div id="header">
        <tiles:insertAttribute name="header"/>
    </div>
    <div id="body">
        <div id="menu">
            <tiles:insertAttribute name="menu"/>
        </div>
        <div id="main-content">
            <tiles:insertAttribute name="body"/>
        </div>
    </div>
    <div id="footer">
        <tiles:insertAttribute name="footer"/>
    </div>
</div>--%>


<div id="header-wrapper-applicant">

    <div id="header-applicant">
        <tiles:insertAttribute name="header"/>
    </div>

</div>


<%--<div id="menu-wrapper-applicant">--%>

<%--<div id="menu-applicant">--%>
<%--<tiles:insertAttribute name="menu"/>--%>
<%--</div>--%>

<%--</div>--%>


<div id="content-wrapper-applicant">


    <div id="content-applicant">
        <div id="left-bar-applicant-form">
            <div class="block-title"><tiles:insertAttribute name="title-text"/></div>

            <div class="block-data">
                <tiles:insertAttribute name="body"/>
            </div>
        </div>
        <%--<div id="right-bar-applicant">
            <tiles:insertAttribute name="rightContent"/>
        </div>--%>
    </div>
</div>


<div id="footer-wrapper-applicant">
    <tiles:insertAttribute name="footer"/>

</div>


<%-- Validation related messages --%>
<%--<s:hidden id="enterChildName" value="%{getText('enter_child_name.label')}"/>
<s:hidden id="enterOccupierName" value="%{getText('enter_occupier_name.label')}"/>
<s:hidden id="enterEncroacherName" value="%{getText('enter_encroacher_name.label')}"/>
<s:hidden id="pls_enter_reference_no" value="%{getText('pls_enter_reference_no')}"/>
<s:hidden id="this_field_required" value="%{getText('this_field_required.label')}"/>
<s:hidden id="pls_enter_valid_nic_no" value="%{getText('pls_enter_valid_nic_no.label')}"/>
<s:hidden id="pls_enter_valid_phone_no" value="%{getText('pls_enter_valid_phone_no.label')}"/>
<s:hidden id="pls_enter_valid_email" value="%{getText('pls_enter_valid_email.label')}"/>
<s:hidden id="pls_enter_valid_fax_no" value="%{getText('pls_enter_valid_fax_no.label')}"/>
<s:hidden id="pls_enter_valid_age" value="%{getText('pls_enter_valid_age.label')}"/>
<s:hidden id="pls_enter_valid_no" value="%{getText('pls_enter_valid_no')}"/>--%>

<s:hidden id="syntaxError" value="%{getText('syntax.errors.in.following.text.label')}"/>
<s:hidden id="syntaxErrorData" value="%{getText('syntax.errors.in.following.text.data.label')}"/>
<s:hidden id="correctSyntaxError" value="%{getText('want.to.correct.syntax.error.label')}"/>

</body>
</html>